package com.snailvr.tv.contract;


import com.snailvr.tv.contract.base.BasePresenter;
import com.snailvr.tv.contract.base.BaseView;
import com.snailvr.tv.network.entity.JXListResponBean;
import com.snailvr.tv.network.entity.RoomInfoBean;
import com.snailvr.tv.network.entity.RoomListResponBean;


/**
 * Created by Administrator on 2016/9/2.
 */
public interface RoomContact {

    interface IRoomView extends BaseView {

        void showRoomInfo(RoomInfoBean _bean);
        void showRoomList(RoomListResponBean _bean);
        void showJXList(JXListResponBean.DataBean _bean);

    }

    interface IRoomPresenter extends BasePresenter {

        void registerView(IRoomView roomView);
        void unregisterView();

        void loadRoomInfo(int room_id);
        void loadRoomList(int channel_id, int page, int page_size, boolean isLoadMore, boolean needClear);
        void loadJXList(int page, int pageSize);
    }
}
